#ifndef OPT_BACKEND_ASM_H
#define OPT_BACKEND_ASM_H



#include "lir.h"
#include "gen.h"
#include "symtab.h"



#define BACKEND_ASM_PRIMITIVE_TYPE_SIZE_INTEGER 4
#define BACKEND_ASM_PRIMITIVE_TYPE_SIZE_BOOLEAN 4
#define BACKEND_ASM_PRIMITIVE_TYPE_SIZE_POINTER 8


void gen_backend_asm(struct lir_t *lir);
long gen_backend_asm_primitive_size(char *primitive_type);
char *convert_type(int type);
void gen_backend_asm_init ();
void gen_backend_asm_deinit ();

#endif /* OPT_BACKEND_ASM_H */
